#include "coordMath.h"

NEDvector deltaLLH(LLHvector coord1, LLHvector coord2, LLHvector home) {

    ECEFvector one = LLHtoECEF(coord1);
    ECEFvector two = LLHtoECEF(coord2);

    ECEFvector result = { one.x - two.x, one.y - two.y, one.z - two.z};

    return ECEFtoNED(result, home);

} /* end deltaLLH */
